package com.hncu.demo;

public class Demo2Array {
    public static void main(String[] args) {
        int[] arr1 = {11,22,33};
        int[] arr2 = {44,55,66};
        int[] arr3 = {77,88,99,100,101};
        int[][] arr = new int[3][3];
        arr[0] = arr1;//传的是地址
        arr[1] = arr2;
        arr[2] = arr3;//地址未变，但是数组变了
        System.out.println(arr[2][4]);
    }
}
